package com.ruoyi.land.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 房东信息对象 mf_landlord
 * 
 * @author yuanrui
 * @date 2025-07-22
 */
public class MfLandlord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 房东唯一标识ID (主键) */
    @Excel(name = "房东唯一标识ID (主键)")
    private Long landlordId;

    /** 房东姓名 */
    @Excel(name = "房东姓名")
    private String name;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String phone;

    /** 电子邮箱 */
    @Excel(name = "电子邮箱")
    private String email;

    /** 身份证号 (唯一) */
    @Excel(name = "身份证号 (唯一)")
    private String idCard;

    /** 注册日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "注册日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date registerDate;

    /** 实名认证状态 (0未认证, 1已认证) */
    @Excel(name = "实名认证状态 (0未认证, 1已认证)")
    private Integer isVerified;

    public void setLandlordId(Long landlordId) 
    {
        this.landlordId = landlordId;
    }

    public Long getLandlordId() 
    {
        return landlordId;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }

    public void setEmail(String email) 
    {
        this.email = email;
    }

    public String getEmail() 
    {
        return email;
    }

    public void setIdCard(String idCard) 
    {
        this.idCard = idCard;
    }

    public String getIdCard() 
    {
        return idCard;
    }

    public void setRegisterDate(Date registerDate) 
    {
        this.registerDate = registerDate;
    }

    public Date getRegisterDate() 
    {
        return registerDate;
    }

    public void setIsVerified(Integer isVerified) 
    {
        this.isVerified = isVerified;
    }

    public Integer getIsVerified() 
    {
        return isVerified;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("landlordId", getLandlordId())
            .append("name", getName())
            .append("phone", getPhone())
            .append("email", getEmail())
            .append("idCard", getIdCard())
            .append("registerDate", getRegisterDate())
            .append("isVerified", getIsVerified())
            .append("createTime", getCreateTime())
            .toString();
    }
}
